<?php
namespace example\abstractFactory\systemA;
require_once 'D:/laragon/www/tests/example/abstractFactory/AbstractFactory.php';
require_once 'ConcreteProductA1.php';
require_once 'ConcreteProductA2.php';
//具体工厂类 - 资讯系统
use example\abstractFactory\AbstractFactory;
class ConcreteFactoryA extends AbstractFactory
{
    public function createNav($nav = [])
    {
        return new ConcreteProductA1($nav);
    }
    public function createText($text = '')
    {
        return new ConcreteProductA2([],$text);
    }
    public function createBtn()
    {
        // TODO: Implement createBtn() method.
    }
}
